package com.lovo.invoicing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lovo.invoicing.bean.BuyCartBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface BuyCartMapper extends BaseMapper<BuyCartBean> {

    void insertBuyCart(@Param("b") BuyCartBean buyCartBean,@Param("userId") int userId);

    void updateBuyCart(@Param("b") BuyCartBean b);
}
